.class public Lcom/nemustech/regina/AppListHolder;
.super Lcom/nemustech/tiffany/world/TFSimpleHolder;
.source "AppListHolder.java"


# static fields
.field private static final LOG_FLAG:Z = false

.field private static final TAG:Ljava/lang/String; = "AppListHolder"


# instance fields
.field private mAppListWidth:F


# direct methods
.method public constructor <init>(F)V
    .locals 3
    .parameter "appListWidth"

    .prologue
    const/4 v2, 0x1

    .line 16
    invoke-direct {p0, v2}, Lcom/nemustech/tiffany/world/TFSimpleHolder;-><init>(Z)V

    .line 17
    const-string v0, "AppListHolder"

    iput-object v0, p0, Lcom/nemustech/regina/AppListHolder;->mDescription:Ljava/lang/String;

    .line 18
    iput p1, p0, Lcom/nemustech/regina/AppListHolder;->mAppListWidth:F

    .line 19
    invoke-virtual {p0, v2}, Lcom/nemustech/regina/AppListHolder;->setDelayedSetItemMode(Z)V

    .line 22
    invoke-virtual {p0}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v0

    const/high16 v1, 0x3f80

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->setInertia(F)V

    .line 23
    invoke-virtual {p0}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v0

    const/16 v1, 0x64

    invoke-virtual {v0, v2, v1}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->setAutoRepositionMode(ZI)V

    .line 25
    return-void
.end method


# virtual methods
.method protected calcTouchVectorMagnitude([FI)F
    .locals 1
    .parameter "forceVector"
    .parameter "tickPassed"

    .prologue
    .line 72
    const/4 v0, 0x0

    return v0
.end method

.method public getHeadSlotIndex(I)I
    .locals 1
    .parameter "slotCount"

    .prologue
    const/4 v0, 0x1

    .line 40
    if-gt p1, v0, :cond_0

    .line 41
    const/4 v0, 0x0

    .line 43
    :cond_0
    return v0
.end method

.method protected getModelPosition(I)F
    .locals 2
    .parameter "modelIndex"

    .prologue
    .line 58
    invoke-virtual {p0}, Lcom/nemustech/regina/AppListHolder;->getHeadSlotIndex()I

    move-result v1

    sub-int v1, p1, v1

    int-to-float v0, v1

    .line 59
    .local v0, position:F
    return v0
.end method

.method public getWidth()F
    .locals 1

    .prologue
    .line 35
    iget v0, p0, Lcom/nemustech/regina/AppListHolder;->mAppListWidth:F

    return v0
.end method

.method protected locateObject(Lcom/nemustech/tiffany/world/TFObject;FI)V
    .locals 3
    .parameter "object"
    .parameter "modelPosition"
    .parameter "modelIndex"

    .prologue
    .line 64
    move v0, p2

    .line 65
    .local v0, x:F
    const/4 v1, 0x0

    .line 66
    .local v1, y:F
    const/4 v2, 0x0

    .line 67
    .local v2, z:F
    invoke-virtual {p1, v0, v1, v2}, Lcom/nemustech/tiffany/world/TFObject;->locate(FFF)V

    .line 68
    return-void
.end method

.method protected onAddModel(Lcom/nemustech/tiffany/world/TFObject;I)V
    .locals 0
    .parameter "object"
    .parameter "modelIndex"

    .prologue
    .line 48
    return-void
.end method

.method protected onRemoveModel(Lcom/nemustech/tiffany/world/TFObject;I)V
    .locals 0
    .parameter "object"
    .parameter "modelIndex"

    .prologue
    .line 53
    return-void
.end method
